<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>react-map</title>
</head>
<style>
    img {
        width: 20px;
    }
</style>

<body>
    <div id="root"></div>
</body>
<script src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script src="https://cdn.staticfile.org/babel-standalone/6.26.0/babel.min.js"></script>
<script type="text/babel">
    function ListItem(props) {
        const numbers = props.numbers
        return (
            <ul>
                {numbers.map(n => <li key={n.toString()}>{n}</li>)}
            </ul>
        )
    }


    const numberArr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]
    ReactDOM.render(
        <ListItem numbers={numberArr} />,
        document.getElementById('root')
    );

</script>

</html>